﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AvansRS.Domain;
using AvansRS.Domain.DataInterface;
using StructureMap;

namespace AvansRS.Data.InsertBuilders
{
    class InsertAccount : Insert<Account>
    {
        public InsertAccount() :base(new Account())
        {
        }

        public InsertAccount WithUserName(string username)
        {
            Instance.UserName = username;
            return this;
        }

        public InsertAccount WithPassword(string password)
        {
            Instance.Password = password;
            return this;
        }

        public InsertAccount WithEmail(string email)
        {
            Instance.Email = email;
            return this;
        }
    }
}
